package com.csun.cmny.provider.model.dto.comolaint;

import lombok.Data;

import javax.persistence.*;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class ServiceComplaintSaveDto {



    //订单id
    @NotNull(message = "{complaint.serviceOrderId.null}")
    private Long serviceOrderId;

    //投诉对象 0-配送人员 1-商家&社区 2-志愿者
    @NotNull(message = "{complaint.targetOfComplaint.null}")
    private Integer targetOfComplaint;

    //问题内容
    @NotEmpty(message = "{complaint.problemContent.null}")
    private String problemContent;

    //是否收餐 0-已收到 1-未收到
    @NotNull(message = "{complaint.isGet.null}")
    private Integer isGet;

    //凭证照片code
    private String imgCode;

    //联系人
    private String linkman;

    //联系电话
    private String phone;


}
